  <table id="medium_table" cellspacing='0'>
    <tr class="medium_header">
    <th width="25%"></th>
  	<th colspan="2">
  	Statistics
  	</th>
  	<th width="25%"></th>
  	</tr>

	<tr class="row_1">
		<td class="staticboldcenter" colspan="4">
		<br />
		</td>
	</tr>
	
	{foreach name=events item=global from=$global_statistics}
	
		<tr class="menu_header">
			<td colspan="4">
			{$global.name}		
			</td>
		</tr>
		
		
		<tr class="row_1">
			<td width="20%" class="staticboldright" >
				Total&nbsp;:&nbsp;
			</td>
			<td colspan="2" class="main" align="left" >
				<img src="./images/layout/redbar.png" width="100%" height="15px" />
			</td>
			<td width="20%" class="staticboldleft" >
				&nbsp;{$global.count}&nbsp;raids
			</td>
		</tr>
		
		<tr class="row_1">
			<td width="20%" class="staticboldright" >
				Signed up&nbsp;:&nbsp; 
			</td>
			<td colspan="2" class="main" align="left" >
				<img src="./images/layout/bluebar.png" width="{math equation="y / x * 100" x=$global.count|default:'0' y=$user_statistics.main[$global.event_id].count|default:'0'}%" height="15px" /><img src="./images/layout/greenbar.png" width="{math equation="y / x * 100" x=$global.count y=$user_statistics.sub[$global.event_id].count|default:'0'}%" height="15px" />
			</td>
			<td width="20%" class="staticboldleft" >
				&nbsp;{math equation="x + y" x=$user_statistics.main[$global.event_id].count|default:'0' y=$user_statistics.sub[$global.event_id].count|default:'0'}&nbsp;raids&nbsp;({math equation="((x + y) / z ) * 100" z=$global.count x=$user_statistics.main[$global.event_id].count|default:'0' y=$user_statistics.sub[$global.event_id].count|default:'0' format="%d"}%)
			</td>
		</tr>
		
		<tr class="row_1">
			<td width="20%" class="staticboldright" >
				Actual&nbsp;:&nbsp; 
			</td>
			<td colspan="2" class="main" align="left" >
				<img src="./images/layout/yellowbar.png" width="{math equation="y / x * 100" x=$global.count|default:'0' y=$actual_statistics[$global.event_id]|default:'0'}%" height="15px" />
			</td>
			<td width="20%" class="staticboldleft" >
				&nbsp;{$actual_statistics[$global.event_id]|default:'0'}&nbsp;raids&nbsp;({math equation="(x / z ) * 100" z=$global.count x=$actual_statistics[$global.event_id]|default:'0' format="%d"}%)
			</td>
		</tr>
		
		

	{/foreach}
	
	<tr class="row_1">
		<td class="staticboldcenter" colspan="4">
			
		</td>
	</tr>


	
 </table>